<html>
<head><meta charset="utf-8"><title>future_breakage (split off from 1.53 release topic) · t-release · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/241545-t-release/index.html">t-release</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/241545-t-release/topic/future_breakage.20(split.20off.20from.201.2E53.20release.20topic).html">future_breakage (split off from 1.53 release topic)</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242764725"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/241545-t-release/topic/future_breakage%20%28split%20off%20from%201.53%20release%20topic%29/near/242764725" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/241545-t-release/topic/future_breakage.20(split.20off.20from.201.2E53.20release.20topic).html#242764725">(Jun 15 2021 at 16:58)</a>:</h4>
<p>hmm, looks like we already have <a href="https://github.com/rust-lang/rust/blob/6936ca8c993a82c5b5d453c3203d3b7df74c1b4b/compiler/rustc_lint_defs/src/lib.rs#L148-L151">a mechanism</a> to have cargo show future breakage lints from dependencies, currently only used for <code>proc_macro_back_compat</code> <del>and <code>array_into_iter</code></del>. it shows e.g.</p>
<blockquote>
<p>the <code>time-macros-impl</code> crate will stop compiling in futures version of Rust. Please update to the latest version of the <code>time</code> crate to avoid breakage</p>
</blockquote>
<p>we could maybe use that for a new lint that reacts to #[stable] attributes with a future version. so we can add #[stable] with a <code>version = "1.56.0"</code> or something, and produce those 'your dependency will break in the future' warnings based on them. the tricky part is deciding which things would actually be an error and which things will just result in a unused import or something.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>